//
// 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.2.8-b130911.1802 生成的
// 请访问 <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// 在重新编译源模式时, 对此文件的所有修改都将丢失。
// 生成时间: 2019.03.12 时间 12:12:00 PM CST 
//


package com.youhome.service.listhub;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>ShowingInformationType complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="ShowingInformationType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Remarks" type="{http://rets.org/xsd/RETSCommons}SecureRemark" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="OccupancyState" type="{http://rets.org/xsd/RETSCommons}OccupancyStateEnum" minOccurs="0"/>
 *         &lt;element name="Lockbox" type="{http://rets.org/xsd/RETSCommons}LockboxType" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="AppointmentRequired" type="{http://rets.org/xsd/RETSCommons}nullable-boolean" minOccurs="0"/>
 *         &lt;element name="AppointmentAdditionalInformation" type="{http://rets.org/xsd/RETSCommons}StringValueDescriptionPairType" minOccurs="0"/>
 *         &lt;element name="Contact" type="{http://rets.org/xsd/RETSCommons}ContactablePerson" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="ShowingAccess" type="{http://rets.org/xsd/RETSCommons}SecureString" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ShowingInformationType", propOrder = {
    "remarks",
    "occupancyState",
    "lockbox",
    "appointmentRequired",
    "appointmentAdditionalInformation",
    "contact",
    "showingAccess"
})
public class ShowingInformationType {

    @XmlElement(name = "Remarks")
    protected List<SecureRemark> remarks;
    @XmlElement(name = "OccupancyState")
    protected OccupancyStateEnum occupancyState;
    @XmlElement(name = "Lockbox")
    protected List<LockboxType> lockbox;
    @XmlElement(name = "AppointmentRequired")
    protected String appointmentRequired;
    @XmlElement(name = "AppointmentAdditionalInformation")
    protected StringValueDescriptionPairType appointmentAdditionalInformation;
    @XmlElement(name = "Contact")
    protected List<ContactablePerson> contact;
    @XmlElement(name = "ShowingAccess")
    protected List<SecureString> showingAccess;

    /**
     * Gets the value of the remarks property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the remarks property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getRemarks().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link SecureRemark }
     * 
     * 
     */
    public List<SecureRemark> getRemarks() {
        if (remarks == null) {
            remarks = new ArrayList<SecureRemark>();
        }
        return this.remarks;
    }

    /**
     * 获取occupancyState属性的值。
     * 
     * @return
     *     possible object is
     *     {@link OccupancyStateEnum }
     *     
     */
    public OccupancyStateEnum getOccupancyState() {
        return occupancyState;
    }

    /**
     * 设置occupancyState属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link OccupancyStateEnum }
     *     
     */
    public void setOccupancyState(OccupancyStateEnum value) {
        this.occupancyState = value;
    }

    /**
     * Gets the value of the lockbox property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the lockbox property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getLockbox().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link LockboxType }
     * 
     * 
     */
    public List<LockboxType> getLockbox() {
        if (lockbox == null) {
            lockbox = new ArrayList<LockboxType>();
        }
        return this.lockbox;
    }

    /**
     * 获取appointmentRequired属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getAppointmentRequired() {
        return appointmentRequired;
    }

    /**
     * 设置appointmentRequired属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setAppointmentRequired(String value) {
        this.appointmentRequired = value;
    }

    /**
     * 获取appointmentAdditionalInformation属性的值。
     * 
     * @return
     *     possible object is
     *     {@link StringValueDescriptionPairType }
     *     
     */
    public StringValueDescriptionPairType getAppointmentAdditionalInformation() {
        return appointmentAdditionalInformation;
    }

    /**
     * 设置appointmentAdditionalInformation属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link StringValueDescriptionPairType }
     *     
     */
    public void setAppointmentAdditionalInformation(StringValueDescriptionPairType value) {
        this.appointmentAdditionalInformation = value;
    }

    /**
     * Gets the value of the contact property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the contact property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getContact().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ContactablePerson }
     * 
     * 
     */
    public List<ContactablePerson> getContact() {
        if (contact == null) {
            contact = new ArrayList<ContactablePerson>();
        }
        return this.contact;
    }

    /**
     * Gets the value of the showingAccess property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the showingAccess property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getShowingAccess().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link SecureString }
     * 
     * 
     */
    public List<SecureString> getShowingAccess() {
        if (showingAccess == null) {
            showingAccess = new ArrayList<SecureString>();
        }
        return this.showingAccess;
    }

}
